package com.woniu.serivce;

import com.woniu.entity.UserInfos;
import com.woniu.util.ResultVO;
import org.springframework.cloud.openfeign.EnableFeignClients;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.PathVariable;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.RequestBody;

/**
 * @author 李桢
 * @time 2021/03/31 09:55:09
 */

@FeignClient("user-service")
public interface UserInfosService {

    @GetMapping("user/verify/{userName}/{userPsw}")
    ResultVO findUser (@PathVariable("userName") String userName, @PathVariable("userPsw") String userPsw);

}
